package com.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Chunsheng.Zhang
 * @date 2021/4/16 11:35
 * @description : TODO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_permission")
public class UserPermission {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    @TableField("permission_id")
    private Long permissionId;
}
